SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 34948: Widths specified by informats on ATTRIB statement aren't passed properly

DetailsCodeResultsAboutRate It

When an informat is specified on the ATTRIB statement, the width of the data value should not exceed the width the informat can handle. When this occurs, an error is produced.

   ERROR:  Read Access Violation In Task [ DATASTEP )

Under the Full Code tab, the informat specified is NUMX. This informat expects to read numeric data and the width maximum is 32. Since the data value being passed to the informat is 63 characters, which exceeds 32, the above error is produced.

Under normal conditions, reading character data with a numeric informat should produce an 'invalid data' message in the log. This will occur if you specify the informat on the INPUT statement after the variable for which it applies.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M09.3 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M0
Microsoft Windows 2000 Server9.1 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M0
Microsoft Windows NT Workstation9.1 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M09.3 TS1M0
Microsoft Windows XP Professional9.1 TS1M09.3 TS1M0
64-bit Enabled AIX9.1 TS1M09.3 TS1M0
64-bit Enabled HP-UX9.1 TS1M09.3 TS1M0
64-bit Enabled Solaris9.1 TS1M09.3 TS1M0
HP-UX IPF9.1 TS1M09.3 TS1M0
Linux9.1 TS1M09.3 TS1M0
OpenVMS Alpha9.1 TS1M09.3 TS1M0
Tru64 UNIX9.1 TS1M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.